LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := unibreak

LOCAL_SRC_FILES := ../../../ZUI/thirdParty/libunibreak/emojidata.c ../../../ZUI/thirdParty/libunibreak/emojidef.c ../../../ZUI/thirdParty/libunibreak/filter_dup.c ../../../ZUI/thirdParty/libunibreak/graphemebreak.c ../../../ZUI/thirdParty/libunibreak/graphemebreakdata.c ../../../ZUI/thirdParty/libunibreak/linebreak.c ../../../ZUI/thirdParty/libunibreak/linebreakdata.c ../../../ZUI/thirdParty/libunibreak/linebreakdef.c ../../../ZUI/thirdParty/libunibreak/unibreakbase.c ../../../ZUI/thirdParty/libunibreak/unibreakdef.c ../../../ZUI/thirdParty/libunibreak/wordbreak.c ../../../ZUI/thirdParty/libunibreak/wordbreakdata.c

ifeq ($(PM5_CONFIG),debug)
  LOCAL_C_INCLUDES := 
  LOCAL_CPP_FEATURES := exceptions
  LOCAL_CFLAGS := -D__ANDROID__ -DDEBUG -D_DEBUG -D_CRTDBG_MAP_ALLOC -DDEBUG_MALLOC -DSDL_STATICLIB
  include $(BUILD_STATIC_LIBRARY)
endif

ifeq ($(PM5_CONFIG),release)
  LOCAL_C_INCLUDES := 
  LOCAL_CPP_FEATURES := exceptions
  LOCAL_CFLAGS := -D__ANDROID__ -DNDEBUG -DSDL_STATICLIB
  include $(BUILD_STATIC_LIBRARY)
endif